feat: Add status command, trust mode, subfolder mode, and comprehensive documentation#1
Merged
CaptainCodeAU merged 4 commits intomainfrom Dec 23, 2025
Merged
Conversation
…johnlindquist#34) - Add `wt config set trust true/false` to bypass setup command confirmations without needing to pass -t flag every time (issue johnlindquist#34) - Add `wt config set subfolder true/false` to create worktrees in a my-app-worktrees/feature pattern instead of my-app-feature siblings (issue johnlindquist#33) - Add getter/setter functions in config.ts for both options - Update confirmCommands() to check config trust setting - Update resolveWorktreePath() to support subfolder naming pattern - Add 8 new tests for the config options (98 total tests pass)
- Merged PR johnlindquist#35 (trust and subfolder config options) - Implemented wt status command with comprehensive git status info - Added 6 tests for status command (104 total tests passing) - Created Claude Code slash command at .claude/commands/worktree.md - Updated documentation with progress and new features - Fixed test issues related to trust mode configuration
- Add 'wt status' command to show comprehensive worktree git status - Display all worktrees with branch names, paths, and git state - Show working tree status (clean/dirty) and upstream tracking (ahead/behind) - Include indicators for main worktree, locked, and detached HEAD states - Handle edge cases including bare repos and missing directories - Add 6 comprehensive tests for status command - Update README.md with new features and detailed status documentation - Add trust mode and subfolder mode configuration sections - Add AI Assistant Integration section with parallel agent workflows - Create comprehensive QUICKSTART.md guide with practical examples - Add CHANGELOG-SESSION.md as development log - Remove temporary WORKTREE-CLI-PROJECT.md file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR enhances the worktree-cli tool for AI-assisted parallel development workflows, adding new features and comprehensive documentation for Claude Code and Cursor integration.
New Features
1.
wt statusCommand2. Trust Mode Configuration
wt config set trust true3. Subfolder Mode Configuration
wt config set subfolder trueDocumentation
.claude/commands/worktree.mdTesting
Changes
wt statuscommand insrc/commands/status.tssrc/index.tsto register status commandBreaking Changes
None. All changes are backward compatible.